require! <[
  flake-idgen
  os
  path
]>

flake-idgen = new flake-idgen()

module.exports = ~>
  tmpdir = path.join os.tmpdir!, flake-idgen.next!.toString(
     \base64
  ).slice(0,-1).replace(/\+/g,'_').replace(/\//g,'-')

if require.main == module
  console.log module.exports!
